Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add match and call expressions to Rust rules #9

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

themkat
Copy link
Contributor

@themkat themkat commented Apr 3, 2024

Like the title says: A very small change adding match and call expressions to the Rust ruleset. match is like a switch statement on steroids, so it makes sense that it should have the same effect on cognitive complexity as a switch statement. Hope I'm not missing something and these were intentionally left out 🙂

@jcs090218 jcs090218 merged commit 8236047 into emacs-vs:master Apr 3, 2024
11 of 12 checks passed
@jcs090218
Copy link
Member

Thank you!

@themkat themkat deleted the rust_additions branch April 3, 2024 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants